package demo1;

public class Son extends Father{
    static {
        System.out.println("子类静态被执行");
    }
    {
        System.out.println("子类实例被执行");
    }
    public Son(){
        System.out.println("子类构造被执行");
    }
    public void fuc(){
        System.out.println("子类的fuc方法被调用");
    }
}
